<!-- components/MyTitle.vue -->
<template>
    <div>子组件接收到的数据是：{{ title }}</div>
  </template>
  
  <script>
  export default {
    props: ['title']
  }
  </script>